# $Id: PKGBUILD 174820 2013-01-07 18:41:05Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>

pkgname=desktop-file-utils
pkgver=0.21
pkgrel=1
pkgdesc="Command line utilities for working with desktop entries"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
license=('GPL')
depends=('glib2')
source=(http://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-${pkgver}.tar.xz)
md5sums=('fda5c312c9fb3b8d818fb54f2c34db82')

build() {
  cd "${srcdir}/desktop-file-utils-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/desktop-file-utils-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
